export default{
    changeCity(state,city){
        state.city=city;
        try{
            localStorage.city=city;//用localStorage做个缓存，不然用户选择后一刷新就没了
        }catch(e){}
    }
}